package com.daidai.service.order;

import com.daidai.domain.Common;
import com.daidai.domain.Order;

import java.util.Map;

public interface OrderService {
    public Common createOrder(Map map);

    public Common finishOrder(int rid,Long cid);

    public Common getOrderByCR(int rid, Long cid);

    public Common updateOrder(Order myOrder);

    public Common getAllOrderByCid(Long cid);

    public Common getOrderByStatus(Long cid,int status);

    public Common getRunOrder(int i);
}
